Skip to content

fix: refresh index list before create check in Update.py#156

Open
shivv23 wants to merge 1 commit into
c2siorg:mainfrom
shivv23:fix/db-update-index-check
Open

fix: refresh index list before create check in Update.py#156
shivv23 wants to merge 1 commit into
c2siorg:mainfrom
shivv23:fix/db-update-index-check

Conversation

@shivv23

@shivv23 shivv23 commented Mar 23, 2026

Copy link
Copy Markdown

Description

Store index list in a variable before delete/create to avoid race conditions when overwrite flag is used.

Related Issues

Motivation and Context

When using --overwrite, the index list wasn't refreshed before checking if the index exists, potentially causing issues.

How Has This Been Tested

  • Syntax verification passed
  • Minimal change (4 lines)

Checklist

  • My code follows the code style of this project
  • I have read the CONTRIBUTING document

Store index list in variable before delete/create to avoid race conditions
when overwrite flag is used.

Closes c2siorg#121
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant